﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0014)about:internet -->
<html>
    <head>
        <meta content="Innovasys Document! X (http://www.innovasys.com)" name=GENERATOR>
        <!--DXMETADATA start type="MetaCharset" --><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><!--DXMETADATA end-->
        <!--DXMETADATA start type="PageItemTitle" format="<title>AutoHideUnusedPopups Property</title>" --><title>AutoHideUnusedPopups Property</title><!--DXMETADATA end-->
        <link href="stylesheets/axstylesheet.css" type=text/css rel=stylesheet>
        <script src="script/ax.js" type=text/javascript>
    </script>

    


<style>
html,div { margin: 0; padding: 0;}

body {
	padding: 0px;
	margin: 0px;
	overflow: auto;
	height: 100%;
}

#winchm_template_button{
	float: right;
	width: 93px;
	top: 7px;
	position: relative;
	text-align: right;
	right: 5px;
	height: auto;
}

#winchm_template_top{
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #9B9B9B;
	background-color: #B1CEFE;
}

#winchm_template_navigation{
	margin: 0px;
	padding-top: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-right: 0px;
	font-size: 8.5pt;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #585858;
}

#winchm_template_title{
	margin: 0px;
	padding-top: 4px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 0px;
	font-size: 18px; 
	font-family: Verdana, Geneva, sans-serif;
	color: #363636;
}

#winchm_template_content{
	margin-top: 20px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	width: auto  !important;
	width: 100%;
}

#winchm_template_footer{
	border-width: 1px;
	border-color: #B1CEFE;
	border-top-style: solid;
	margin-top: 15px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-top: 7px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	font-family: arial, helvetica, sans-serif;
	font-size: 8.5pt;
	color: #696969;
	width: auto;
	text-align: left;
}


#winchm_template_container{
	margin: 0px;
	padding: 0px;
	position: static;
	padding-bottom: 3px;
	overflow: auto;
	background-color: #FFFFFF;
}


@media print
{
#winchm_template_container{
	position: static;	
	margin: 0px;
	padding: 5px;
	
	width: auto;
	height: auto;
	overflow: auto;
}
#winchm_template_button{
visibility:hidden;
}
}

#winchm_template_navigation A:link	{text-decoration: none; color:#004080}
#winchm_template_navigation A:visited  {text-decoration: none; color: #004080}
#winchm_template_navigation A:active {text-decoration: none; color: #004080 }
#winchm_template_navigation A:hover {text-decoration: none;color: #0080FF}

A:link	{text-decoration: underline; color:#0033CC}
A:visited  {text-decoration: underline; color: #0033CC}
A:active {text-decoration: underline; color: #0033CC }
A:hover {text-decoration: underline;color: #FF0000;}
</style>
<script type="text/javascript">
function isMobile(){
Agent = window.navigator.userAgent;
if (Agent.indexOf("iPhone")>=1 || Agent.indexOf("iPad")>=1 || Agent.indexOf("iPod")>=1 || Agent.indexOf("Android")>=1){
return true;
}else{
return false;	
}

}
function d_onresize(){
if (window.navigator.userAgent.indexOf("MSIE")>=1){
document.getElementById('winchm_template_container').style.pixelWidth = document.body.offsetWidth - 3;
document.getElementById('winchm_template_container').style.pixelHeight = document.body.offsetHeight - document.getElementById('winchm_template_top').offsetHeight - 4;
}
document.getElementById('winchm_template_container').style.top = document.getElementById('winchm_template_top').offsetHeight + 'px';
}

function d_onbeforeprint(){
document.getElementById('winchm_template_container').style.width = 'auto';
document.getElementById('winchm_template_container').style.height = 'auto';
}

function d_onafterprint(){
d_onresize();
}

if(!isMobile()){

window.onload = d_onresize;
window.onresize = d_onresize;
window.onbeforeprint = d_onbeforeprint;
window.onafterprint = d_onafterprint;

document.write("<style>\n");
document.write("body {overflow: hidden;}\n");
document.write("#winchm_template_container {position: absolute;overflow: auto;top : 0px;right: 0px;bottom: 0px;left: 0px;}\n");
document.write("</style>\n");
}

</script>
</head>
    <body><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(6361);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm?page=XtremeCommandBars~CommandBarsOptions~AutoHideUnusedPopups.html";
}
originalOnload = window.onload;
if(originalOnload==null){
window.onload = function(){parent.contentLoaded = true;};
}else{
window.onload = function(){originalOnload();parent.contentLoaded = true;};
}
</script> 


<div id="winchm_template_top">
	<div id="winchm_template_button"><A href="XtremeCommandBars~CommandBarComboBox~AutoComplete.html" title="Previous topic"><img id="winchm_template_prev" alt="Previous topic" src="template2/btn_prev_n.gif" border="0"></a><A href="XtremeCommandBars~PaintManager~AutoResizeIcons.html" title="Next topic"><img id="winchm_template_next" alt="Next topic" src="template2/btn_next_n.gif" border="0"></a></div>
	<div id="winchm_template_navigation">Help &gt; 
<A href="welcome_screen.htm">Codejock ActiveX Controls v15.3</A> &gt; <A href="XtremeCommandBars_P.html">Xtreme Command Bars</A> &gt; Properties &gt; </div>
	<div id="winchm_template_title">AutoHideUnusedPopups Property</div>
</div>
<div id="winchm_template_container">
	<div id="winchm_template_content"><div class=popupbubble id=dxseealsomenu><p id=dxseealsocontent><a href="#Bookmark4944">CommandBarsOptions Object</a>
&nbsp;|&nbsp;<a href="#Bookmark4954">AlwaysShowFullMenus Property</a>
&nbsp;|&nbsp;<a href="#Bookmark4972">ShowFullAfterDelay Property</a>
&nbsp;|&nbsp;<a href="#Bookmark4948">AddHiddenCommand Method</a>
</p><!--DXMETADATA end --> 
        </div>
        <!--DXMETADATA start type="FilteredItemList" scrap="PARAMETERS_BUBBLES" namespace="parameter" source="Item" --><!--DXMETADATA end --> 
        <div id=pagetop>
            <div id=projectnamebanner>
                <table class=projectnametable cellspacing=0>
                    <tbody>
                        <tr>
                            <!--DXMETADATA start type="Literal" condition="childitems:itemtype=seealso" value="<td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td>" --><td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td><!--DXMETADATA end -->
                            <td>
                                <!--DXMETADATA start type="Phrase" Name="Product_Header" -->Xtreme Command Bars ActiveX Control v15.3<!--DXMETADATA end --> 
                            </td>
                            <td align=right>
                                <!--DXMETADATA start type="Variable" name="FeedbackLink" format="" --><!--DXMETADATA end -->
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id=pagetitlebanner>
                <h1 class=dxh1>
                <!--DXMETADATA start type="PageItemTitle" -->AutoHideUnusedPopups Property<!--DXMETADATA end --></h1>
            </div>
        </div>
        <div id=pagebody valign="bottom">
            <!--DXMETADATA start type="IsNew" format="<script>document.all.pagebody.className = 'newTopic'</script>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="Description" source="Item" format="<h4 class=dxh4>$$Description$$</h4><p>%%description%%</p>" --><h4 class=dxh4>Description</h4><p>The&nbsp;<STRONG>AutoHideUnusedPopups</STRONG> property specifies whether unused popups will be hidden (I.e. An infrequently used menu).</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="PropertyAccessDescription" format="<h4 class=dxh4>$$Property_Type$$</h4><p>%%PropertyAccessDescription%%</p>" --><h4 class=dxh4>Property type</h4><p>Read-write property</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="Syntax" lang="VB" format="<div Class=LanguageSpecific Name=Syntax_VB><h4 class=dxh4>$$Syntax$$ (Visual Basic)</h4><p>%%Syntax%%</p></div>" --><div Class=LanguageSpecific Name=Syntax_VB><h4 class=dxh4>Syntax (Visual Basic)</h4><p><PRE CLASS="syntax" LANG="VB"><strong>Public Property AutoHideUnusedPopups</strong>()<strong> As <b>Boolean</b></strong></PRE></p></div><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="PARAMETERS_LIST" namespace="parameter" source="Item" filter="" format="<h4 class=dxh4>$$ParameterList$$</h4>%%filtereditemlist%%" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##RETURNS" format="<h4 class=dxh4>$$Return_Type$$</h4><p>%%comment%%</p>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 class=dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --><h4 class=dxh4>Remarks</h4><p><P>When&nbsp;<STRONG>AutoHideUnusedPopups</STRONG>&nbsp;is <STRONG>TRUE</STRONG>, the popup menus behave similar to the Windows Start menu.&nbsp; If all controls in a popup control are hidden, then the entire popup control will be hidden as well.</P>
<P>When&nbsp;<STRONG>AutoHideUnusedPopups</STRONG>&nbsp;is <STRONG>FALSE</STRONG>, the popup control will always be displayed, even if all controls in the popup menu are hidden.</P>
<P>&nbsp;</P>
<P>Note:&nbsp; <A href="#Bookmark4954">AlwaysShowFullMenus</A> must be <STRONG>FALSE</STRONG> for hidden commands to be hidden.</P>
<P>&nbsp;</P>
<P>The picture below illustrates when the popup menu initially looks like before the "Show More Buttons" button is clicked and what the popup menu look like after the "Show More Buttons" button is clicked.&nbsp; The "New", "Open", "Add Project", and "Source Control" popups contain only hidden controls so the entire popup menu was initially hidden.&nbsp; The example code below demonstrates how to create the menu in the picture.</P>
<P><IMG src="Pictures/autohideunusedpopups.gif"></P></p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="sourcecode" format="<h4 class=dxh4>$$Source_Code$$</h4><table border=0 cellpadding=0 cellspacing=0 class=sourcecode><tr><td nowrap>%%sourcecode%%</td></tr></table>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##EXAMPLEINTRO" format="<h4 class=dxh4>$$Example$$</h4><p>%%comment%%</p>" --><h4 class=dxh4>Example</h4><p>This code demonstrates how to recreate the popup menu in the picture above.</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" filter="type=inline" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --> <DIV Class=LanguageSpecific Name=Example_VB><p><SPAN class="lang">[Adding Hidden Controls (Visual Basic)]</SPAN>&nbsp;This sample illustrates how to add hidden controls to the popup menus.  This also demonstrates how to hide popup menus that only contain hidden commands.</p><DIV Class=LanguageSpecific Name=Code_VB><TABLE Class="CodeContainerTable" CellPadding="0" CellSpacing="0" Border="0"><TR><TD NOWRAP><CODE Class="VB">&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Dim</font> Control <font class='keyword'>As</font> CommandBarControl, ControlFile <font class='keyword'>As</font> CommandBarPopup<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Dim</font> ControlNew <font class='keyword'>As</font> CommandBarPopup, ControlOpen <font class='keyword'>As</font> CommandBarPopup<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Dim</font> ControlAddNew <font class='keyword'>As</font> CommandBarPopup, ControlSourceControl <font class='keyword'>As</font> CommandBarPopup<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'Adds the "File" popup menu to the menu bar</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> ControlFile = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, <font class='string'>&quot;&File&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>With</font> ControlFile.CommandBar.Controls<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> ControlNew = .Add(xtpControlPopup, 0, <font class='string'>&quot;New&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>With</font> ControlNew.CommandBar.Controls<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_NEW_PROJECT, <font class='string'>&quot;New Project...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_NEW_FILE, <font class='string'>&quot;New File...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_NEW_BLANK, <font class='string'>&quot;Blank Solution&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>With</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> ControlOpen = .Add(xtpControlPopup, 0, <font class='string'>&quot;Open&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>With</font> ControlOpen.CommandBar.Controls<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_OPEN_PROJECT, <font class='string'>&quot;Open Project&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = ControlOpen.CommandBar.Controls.Add(xtpControlButton, ID_FILE_OPEN_FILE, <font class='string'>&quot;Open File...&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>With</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_CLOSE, <font class='string'>&quot;&Close&quot;</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> ControlAddNew = .Add(xtpControlPopup, 0, <font class='string'>&quot;A&dd Project&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ControlAddNew.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>With</font> ControlAddNew.CommandBar.Controls<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_NEW_PROJECT, <font class='string'>&quot;&New Project...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_EXISTING_PROJECT, <font class='string'>&quot;&Existing Project...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_EXISTING_WEB_PROJECT, <font class='string'>&quot;Existing Project &From Web...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>With</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_OPEN_SOLUTION, <font class='string'>&quot;Op&en Solution...&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_CLOSE_SOLUTION, <font class='string'>&quot;Close Solu&tion...&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.Enabled = <font class='keyword'>False</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_SAVE, <font class='string'>&quot;&Save Selected Items&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.Enabled = <font class='keyword'>False</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_SAVE_AS, <font class='string'>&quot;Save Selected Items &As...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_SAVE_ALL, <font class='string'>&quot;Save A&ll&quot;</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> ControlSourceControl = .Add(xtpControlPopup, 0, <font class='string'>&quot;Sou&rce Control&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ControlSourceControl.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>With</font> ControlSourceControl.CommandBar.Controls<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_GET_LATEST_VERSION, <font class='string'>&quot;Get Latest Version&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_GET, <font class='string'>&quot;Get...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_CHECK_OUT, <font class='string'>&quot;Check Out...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_CHECK_IN, <font class='string'>&quot;Check In...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Add xtpControlButton, ID_FILE_HISTORY, <font class='string'>&quot;&History...&quot;</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>With</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_PRINT_SETUP, <font class='string'>&quot;Print Set&up...&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.Enabled = <font class='keyword'>False</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_PRINT, <font class='string'>&quot;Print...&quot;</font>)<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Set</font> Control = .Add(xtpControlButton, ID_FILE_EXIT, <font class='string'>&quot;&Exit&quot;</font>)<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control.BeginGroup = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>With</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'Specifies that these controls will be hidden</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_NEW_PROJECT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_NEW_FILE<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_NEW_BLANK<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_OPEN_PROJECT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_OPEN_FILE<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_NEW_PROJECT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_EXISTING_PROJECT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_EXISTING_WEB_PROJECT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_GET_LATEST_VERSION<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_GET<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_CHECK_OUT<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_CHECK_IN<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_HISTORY<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AddHiddenCommand ID_FILE_PRINT_SETUP<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'Indicates that hidden commands will not initially be displayed in popup menus</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AlwaysShowFullMenus = <font class='keyword'>False</font><BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'Indicated that popup menus that contain only hidden commands will be hidden as well</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.Options.AutoHideUnusedPopups = <font class='keyword'>True</font></CODE></TD></TR></TABLE></DIV></DIV>
<!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="seealso" source="Item" filter="" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$See_Also$$</h4><p id=dxseealsocontent>%%filtereditemlist%%</p>" --><h4 class=dxh4>See Also</h4><p id=dxseealsocontent><a href="#Bookmark4944">CommandBarsOptions Object</a>
&nbsp;|&nbsp;<a href="#Bookmark4954">AlwaysShowFullMenus Property</a>
&nbsp;|&nbsp;<a href="#Bookmark4972">ShowFullAfterDelay Property</a>
&nbsp;|&nbsp;<a href="#Bookmark4948">AddHiddenCommand Method</a>
</p><!--DXMETADATA end --><!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="example" source="Item" filter="type=linked" NoHeader="True" NoFooter="True" format="><!--DXMETADATA end --><!--DXMETADATA start type="Variable" name="CopyrightNotice" format="><!--DXMETADATA end --></div></div>	
	<div id="winchm_template_footer">Copyright &copy; 2018. All rights 
reserved. (To change the copyright info, just edit it in template.)</div>
</div>

</body>
</html>

